Inheritance diagram for IShMouseAction:

Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | Do ()=0 |
| virtual MCCOMErr MCCOMAPI | Undo ()=0 |
| virtual MCCOMErr MCCOMAPI | Redo ()=0 |
| virtual boolean MCCOMAPI | WillCauseChange ()=0 |
| virtual boolean MCCOMAPI | CanUndo ()=0 |
| virtual MCCOMErr MCCOMAPI | GetName (TMCString &name)=0 |
| virtual void MCCOMAPI | Track (IMCGraphicContext *gc, int16 stage, TMCPoint &first, TMCPoint &prev, TMCPoint &cur, boolean moved, IShMouseAction **nextAction)=0 |
| virtual MCCOMErr MCCOMAPI | Feedback (IMCGraphicContext *gc, int16 stage, const TMCPoint &first, const TMCPoint &prev, const TMCPoint &cur, boolean moved, boolean show)=0 |
| virtual void MCCOMAPI | GetPartToRedraw (IMFPart **outPart, int32 stage)=0 |
| virtual MCCOMErr MCCOMAPI | Constrain (IMCGraphicContext *gc, int16 stage, const TMCPoint &first, const TMCPoint &prev, TMCPoint &cur, boolean moved)=0 |
| virtual boolean MCCOMAPI | NeedsToPrepareMenus (void)=0 |
| virtual boolean MCCOMAPI | ConstrainedToView (void)=0 |
| virtual boolean MCCOMAPI | IsPerpetualMouseAction (void)=0 |
| virtual boolean MCCOMAPI | ShouldHideCursor (void)=0 |
| virtual boolean MCCOMAPI | ShouldAutoScroll (void)=0 |
| virtual boolean MCCOMAPI | KeepTracking ()=0 |
|
|
Returns true if the action is undoable. If CanUndo() returns false, Undo() and Redo() should return MC_E_NOTIMPL and do nothing.
Implemented in TBasicMouseAction. |
|
||||||||||||||||||||||||||||
|
Use this method to constrain the 'cur' position to a value, before Track() is called
Implemented in TBasicMouseAction. |
|
|
Implemented in TBasicMouseAction. |
|
|
Function called to actually perform the action.
Implemented in TBasicMouseAction. |
|
||||||||||||||||||||||||||||||||
|
Allows the action to draw things related to the tracking. Feedback() is called for the first time right before the first call of Track(kShBeginTracking), and then Feedback() is called right after each call to Track().
Implemented in TBasicMouseAction. |
|
|
Return the name to display in the undo/redo list.
Implemented in TBasicMouseAction. |
|
||||||||||||
|
Gives the action the opportunity to tell the Shell that the returned part should be redrawn after Do/Undo/Redo. Return NULL in outPart if no redraw is needed.
Implemented in TBasicMouseAction. |
|
|
Implemented in TBasicMouseAction. |
|
|
Returns false if you do not want the mouse action to perform any tracking. This is useful if you just want to do something on the click.
Implemented in TBasicMouseAction. |
|
|
Implemented in TBasicMouseAction. |
|
|
Called to Redo the action. This can often simply call Do(). Implemented in TBasicMouseAction. |
|
|
Implemented in TBasicMouseAction. |
|
|
Implemented in TBasicMouseAction. |
|
||||||||||||||||||||||||||||||||
|
Called each time the mouse moves. At least, Track() is called three times (even if the mouse does not move).
Implemented in TBasicMouseAction, and TSimpleMouseAction. |
|
|
Called to undo the action.
Implemented in TBasicMouseAction. |
|
|
Implemented in TBasicMouseAction. |
1.4.5